package com.wy.powerbuilder.service.ljh;

import com.github.pagehelper.PageInfo;
import com.wy.powerbuilder.entity.hxl.carseat;
import com.wy.powerbuilder.entity.ljh.Device;
import com.wy.powerbuilder.entity.ljh.Repair;
import com.wy.powerbuilder.entity.lwg.houses;

import java.util.List;

public interface RepairService {
    /**
     *
     * @param pageNo  当前的页码
     * @param pageSize 每页显示的条数
     * @return 分页信息
     */
    PageInfo<Repair> selByPage(Integer pageNo, Integer pageSize, String r_userName);
    int addRepair(Repair repair);
    int delRepair(Integer r_id);
    int updRepair(Repair repair);
    Repair selectId(Integer r_id);
    List<houses> seleAll();
    List<Device> showDevice();
    int sum();
}
